package com.sneaker.shower.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author Hechangjian
 * @version 1.0
 * @className UserChargeRespDTO
 * @date 2019/09/01 14:41
 * @description
 * @program bath
 */
@Data
@ApiModel("用户充值结果DTO")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserChargeRespDTO {

    @ApiModelProperty("充值结果，0为支付中，1为成功，其他均为失败")
    private Integer respCode;

    @ApiModelProperty("错误信息")
    private String errorMsg;

    @ApiModelProperty("用户等级")
    private String userType;

    @ApiModelProperty("当前用户余额")
    private BigDecimal amount;
}
